use crate::core::entity::device_candidate::DeviceCandidate;
use serde::Deserialize;
use share::core::channel::Channel;
use share::core::device_id::DeviceId;

#[derive(Deserialize)]
pub struct PostDeviceRequest {
    pub id: DeviceId,
    pub desc: Option<String>,
}

#[derive(Deserialize)]
pub struct PostDeviceCandidateRequest {
    pub custom_device_id: DeviceId,
    pub device_id: DeviceId,
    pub channel: Channel,
}
